package com.example.mybatisplus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mybatisplus.mybatis.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface StudentMapper extends BaseMapper<Student> {

     int insertStudent(Student student);
     List<Student> selectStudentByName(String name);
     Student selectStudentById(Integer id);
}
